import { createRouter, createWebHashHistory } from 'vue-router';

import Home from '../views/Home.vue';
import Mapping from '../views/Mapping.vue';
import Result from '../views/Result.vue';
import Setting from '../views/Setting.vue';

const routes = [
  { path: '/', redirect: '/home' },
  { path: '/home', component: Home },
  { path: '/mapping', component: Mapping },
  { path: '/result', component: Result },
  { path: '/setting', component: Setting },
];

const router = createRouter({ history: createWebHashHistory(), routes });
export default router;
